<?php

namespace app\models;

use yii\base\Model;
use yii\web\UploadedFile;

/**
 * UploadForm is the model behind the upload form.
 */
class UploadFileForm extends Model
{
 
	/*const AK = 'CAx1Zf2fGl-y4U9J86nh1auYdNQdTKBlNRh_fl5T';
	const SK = 'cUk1vL_Gq5dKWftwxwuhlolSxtpyHatEw87UfPWD';
	const DOMAIN = 'olohq71tr.bkt.clouddn.com';
	const BUCKET = 'myzhbit';*/
    const AK = 's0E5-vwYbWIGZjfgYgTmv4g3zcq6wWwpyPDiogwC';
    const SK = 'AZO4DZ9R-KO0bElEXf84JvuqvQK9R1N03Fi2KN0Q';
    const DOMAIN = 'oylgbu0uf.bkt.clouddn.com';
    const BUCKET = 'test-1';
	
	/**
     * @var UploadedFile file attribute
     */
    public $file;

    /**
     * @return array the validation rules.
     */
    public function rules()
    {
        return [
            [['file'], 'file'],
        ];
    }
}



